package com.aigou.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 秒杀商品表
 * </p>
 *
 * @author cw
 * @since 2024-05-17
 */
@TableName("tb_skill_goods")
@ApiModel(value = "SkillGoods对象", description = "秒杀商品表")
public class SkillGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer gid;

    private String gname;

    private String gurl;

    private BigDecimal price;

    private BigDecimal skillPrice;

    private Integer skillNum;

    private String skillTime;

    @ApiModelProperty("0：未开始，1：已开始，2：已结束")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGurl() {
        return gurl;
    }

    public void setGurl(String gurl) {
        this.gurl = gurl;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getSkillPrice() {
        return skillPrice;
    }

    public void setSkillPrice(BigDecimal skillPrice) {
        this.skillPrice = skillPrice;
    }

    public Integer getSkillNum() {
        return skillNum;
    }

    public void setSkillNum(Integer skillNum) {
        this.skillNum = skillNum;
    }

    public String getSkillTime() {
        return skillTime;
    }

    public void setSkillTime(String skillTime) {
        this.skillTime = skillTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "SkillGoods{" +
            "id = " + id +
            ", gid = " + gid +
            ", gname = " + gname +
            ", gurl = " + gurl +
            ", price = " + price +
            ", skillPrice = " + skillPrice +
            ", skillNum = " + skillNum +
            ", skillTime = " + skillTime +
            ", status = " + status +
        "}";
    }
}
